//    Copyright (C) Kherty.  All rights reserved.
using System;
using OpenLS.Spreadsheet.Expressions;

namespace OpenLS.Spreadsheet.Formats.Biff.Tokens
{
    internal class RangeListToken : RangeTokenBase
    {

        protected override Expression CreateExpression(CellEnumeratorExpression left, CellEnumeratorExpression right)
        {
            return new RangeListExpression((CellEnumeratorExpression)left, (CellEnumeratorExpression)right);
        }

        public override FormulaTokenId TokenId
        {
            get { return FormulaTokenId.Union; }
        }
    }
}